let express = require('express')

let app = express()

app.get('/serverJson',function (request,response) {
    response.setHeader('Access-Control-Allow-Origin', '*');
    let data = {
        name : '小周zhou'
    }
    let data2 = JSON.stringify(data)
    response.send(data2)
})

app.listen('8000',function () {
    console.log('serverJson is ready')
})